package com.sanjiahantang.youjiarole.module.goods.beans;

import com.google.gson.Gson;
import com.sanjiahantang.youjiarole.base.BaseBean;

/**
 * Created by zy on 2017/11/1.
 */

public class CartNum extends BaseBean {
    private String data;

    public Data getData() {
        return new Gson().fromJson(data,Data.class);
    }

    public void setData(String data) {
        this.data = data;
    }

    public static class Data{
        private int number;

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }
    }
}
